﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace dbPoll_Application.Models
{
    public class Field
    {
        public virtual int fieldID { get; set; }
        public virtual String name { get; set; }
        public virtual int fieldNumber { get; set; }

        public Field()
        {
            this.fieldID = -1;
            this.name = String.Empty;
            this.fieldNumber = -1;
        }

        public Field(String name, int fieldNumber)
        {
            this.fieldID = -1;
            this.name = name;
            this.fieldNumber = fieldNumber;
        }

        public Field(int fieldID, String name, int fieldNumber)
        {
            this.fieldID = fieldID;
            this.name = name;
            this.fieldNumber = fieldNumber;
        }
    }
}
